import { get, post } from '@/utils/request';

export function login(params){
    return post('/sysLogin', params)
}

// 创建用户
export function insertUser(params) {
    return post('/insertUser', params)
}

// /api/selectUser
export function selectUser() {
    return get('/selectUser')
}
// 查询用户信息
export function queryUserInfo(){
    return get('/queryUserInfo', {}, {token: true})
}